package operation;

public class Exit implements IOperation{
    @Override
    public void work() {
        System.out.println("退出程序");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.exit(0);
    }
}
